package com.atguigu.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
//http://localhost:8001/swagger-ui.html
@SpringBootApplication
@ComponentScan(basePackages = {"com.atguigu"})
//加上注册进行注解
@EnableDiscoveryClient//nacos进行注册
@EnableFeignClients//服务调用注解

public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }

}
